package toponet.overlay;

import sicsim.types.NodeId;
import toponet.geometry.Point;

public class FingerEntry {
	private NodeId nid;
	private Point location;
	
	public FingerEntry(NodeId nid, Point loc) {
		this.nid = nid;
		this.location = loc;
	}
	
	public Point getPoint() {
		return this.location;
	}
	
	public NodeId getNodeId() { 
		return this.nid;
	}
	
	public String toString() { 
		return this.nid.toString();
	}
}
